import { Routes, Route } from "react-router-dom";
import TodoList from "../pages/todoList";
import Login from "../pages/login";
import Test from "../pages/test";
import Controller from "../pages/controller";
import Calendar from "../pages/calendar";
import MyCalendar from "../pages/myCalendar";
import AdvancedDocs from "../pages/advancedDocs/index";

const MainRouter = () => {
  return (
    <Routes>
      <Route path="/" element={<TodoList></TodoList>}></Route>
      <Route path="/login" element={<Login></Login>}></Route>
      <Route path="/test" element={<Test></Test>}></Route>
      <Route path="/controller" element={<Controller></Controller>}></Route>
      <Route path="/calendar" element={<Calendar></Calendar>}></Route>
      <Route path="/myCalendar" element={<MyCalendar></MyCalendar>}></Route>
      <Route
        path="/advancedDocs"
        element={<AdvancedDocs></AdvancedDocs>}
      ></Route>
    </Routes>
  );
};

export default MainRouter;
